﻿using System;

namespace ScheduleTask
{
    public interface ITask
    {
        string TaskName { get; set; }
        int RunPeriodInSecond { get; set; }
        DateTime? WorkingStartTime { get; set; }
        DateTime? WorkingEndTime { get; set; }
        TaskType TaskType { get; set; }
        TimeSpan StartTimeSpan { get; }

        void RunTask();
    }
}
